// components/shop-item/shop-item.js
// 获取app
var app = getApp();
Component({
  properties: {
    item: {
      type: Object,
      value: {},
    },
    border: {
      type: Boolean,
      value: false,
    },
  },

  data: {
    filesHost: app.globalData.filesHost,
  },

  methods: {
    onClick(item){
      this.triggerEvent("onClick", item);
    }
   
  },
});
